package com.xs.common.bean;

import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * @author xs
 * date 2018/3/24 17:30
 */
@Builder
@Data
public class Demo {

    private Long id;

    @Attribute(name ="姓名" )
    private String name;

    @Attribute(name ="年龄" )
    private int age;

    @Attribute(name = "性别",enumType = SexEnum.class)
    private int sex;

    @Attribute(isPojo = true)
    private Son son;

    List<String> stringList;

}
